<?php
//TODO userMode尚待挨个完善
class user extends base{
	function __construct(){
		$this->_uc = true;
	}
	
    function get_user($uid, $arrField=array()){
        $field = implode(',', $arrField);
        $sql = 'SELECT '.$field.' FROM '.$this->table('users').' WHERE uid='.$uid;
        die($this->db->getRow($sql));
    }
    
    function check_user($email, $pass){
        
    }
    
    function get_user_list($start, $size, $arrField=array()){
        
    }
    
    function del_user($uid){
        
    }
    
    function edit_user($uid, $arrData=array()){
        
    }
    
    function add_user($uid, $arrData=array()){
        
    }
}
?>